 

package com.zdkj.subway.rca.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zdkj.subway.rca.dto.in.SwCkStationDailyReportQueryDTO;
import com.zdkj.subway.rca.entity.SwCkStationDailyReportOriginal;

import javax.servlet.http.HttpServletResponse;

import java.text.ParseException;
import java.util.List;
import java.util.Map;


/**
 * 报表调账-西安地铁收入日报表(原始)
 *
 * @author stw
 * @date 2020-11-21 21:38:48
 */
public interface SwCkStationDailyReportOriginalService extends IService<SwCkStationDailyReportOriginal> {
    /**
     * 生成原始日报表
     * @param startDate
     * @param endDate
     * @param lineCodes
     * @return
     * @throws Exception
     */
    Boolean generate(String startDate,String endDate,String lineCodes) throws Exception;
    /**
     * 获取结算周期
     * @param startDate
     * @param endDate
     * @return
     */
    List<Map<String,String>> getStationSettleCycleList(String startDate,String endDate);
    /**
     * 原始日报表查询
     * @param dto
     * @return
     */
    List<SwCkStationDailyReportOriginal> listSwCkStationDailyReportOriginal(SwCkStationDailyReportQueryDTO dto);
    /**
     * 导出
     * @param startDate
     * @param endDate
     * @param lineCodes
     * @param response
     * @throws ParseException
     */
    void export(String startDate, String endDate,String lineCodes, HttpServletResponse response) throws ParseException;
    /**
     * 获取哪些车站存在未审核通过的收入审核数据
     * @param lineCode
     * @param tradeDate
     * @return
     */
    List<Map<String, String>> getNoAudit(String lineCode, String tradeDate);
}
